package com.caimiao.miao.page.master.storage.enter;

import android.content.Context;
import android.widget.ListAdapter;

import com.caimiao.miao.interfaces.IBaseModel;
import com.caimiao.miao.interfaces.IBasePresenter;
import com.caimiao.miao.interfaces.IBaseActView;

import java.util.List;

public interface IEnterContact {
    interface View extends IBaseActView<Presenter> {
        void setAdapter(ListAdapter adapter);

        String getType();

        int getCount();
    }

    interface Presenter extends IBasePresenter {
          void save(Context context, String type, int count);
    }

    interface Model extends IBaseModel {
        List<String> getType(Context context);

        void save(Context context, String type, int count);

    }
}
